package com.bailun91.auth.controller;


import com.bailun91.auth.entity.Role;
import com.bailun91.auth.entity.User;
import com.bailun91.auth.mapper.UserMapper;
import com.bailun91.auth.service.RoleService;
import com.bailun91.auth.service.UserRoleService;
import com.bailun91.auth.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("admin")
public class RoleController {

    @Autowired
    UserService userService;

    @Autowired
    RoleService roleService;

    @Autowired
    UserRoleService userRoleService;


    /************************************User-Role*****************************************/

    void upDateUserRole(User user, Role role){

    }
}
